import request from "@/utils/request"

export function queryListVip(data) {
  return request({
    url: "/CMembershipLevelRule/queryList",
    method: "GET",
    params: data
  })
}

export function queryOneVip(data) {
  return request({
    url: "/CMembershipLevelRule/queryOne",
    method: "GET",
    params: data
  })
}

export function queryOneVipRule(data) {
  return request({
    url: "/CMembershipLevelRuleItem/queryOne",
    method: "GET",
    params: data
  })
}

export function setRuleItem(data) {
  return request({
    url: "CMembershipLevelRuleItem/setRuleItem",
    method: "POST",
    data: data
  })
}

export function queryVipTqList(data) {
  return request({
    url: "/CVipPage/queryList",
    method: "GET",
    params: data
  })
}

export function queryOneVipTq(data) {
  return request({
    url: "/CVipPage/queryOne",
    method: "GET",
    params: data
  })
}

export function updateVipTq(data) {
  return request({
    url: "/CVipPage/update",
    method: "POST",
    params: data
  })
}

